<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>辅助 / resizeObserver</title>
    <style>
        div{
            outline: 1px solid red;
            height: 50px;
            margin: 30px;
        }
    </style>
</head>

<body>
    <div id="div1" onclick="stop1()"></div>
    <div id="div2" onclick="stop2()"></div>
    <div id="div3" style="width:300px" onclick="stop3()"></div>
    <script src="./dist.js"></script>
</body>

</html>